package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.PublicityPictures;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PublicityPicturesMapper {
    int deleteByPrimaryKey(Integer publicityPicturesId);

    int insert(PublicityPictures record);

    int insertSelective(PublicityPictures record);

    PublicityPictures selectByPrimaryKey(Integer publicityPicturesId);

    int updateByPrimaryKeySelective(PublicityPictures record);

    int updateByPrimaryKey(PublicityPictures record);

    List<PublicityPictures> selectAll();

    List<PublicityPictures> selectByPublicityPicturesGroup(@Param("publicityPicturesGroup") Integer publicityPicturesGroup);

    int updatePublicityPicturesOrderByPublicityPicturesId(@Param("updatedPublicityPicturesOrder")Integer updatedPublicityPicturesOrder,@Param("publicityPicturesId")Integer publicityPicturesId);


}